<div class="mainbox">
    <div class="pointitem {{$Top.infotype}}">
        {{#if bus_user_bind.length}} {{#each bus_user_bind}}
        <div class="item">
            <div class="i">商家:{{bus_id}}</div>
            <div class="i">推荐单数:{{achs.length}}</div>
        </div>
        <div class="item">
            <div class="i">推广:￥{{acc}}</div>
            <div class="i">红利:
                <span class="price">￥{{#Fixed _money}}</span>
            </div>
        </div>
        <div class="item">
            {{#if state==$Top.config.bus_user_bind_status.weishenqingduihuan}} {{#if !_money}}
            <div class="info">无红利，无法申请</div>
            {{#else}}
            <a>
                <sbutton event-click="{{'$Top.$Event.user.weishenqingduihuan_to_shenqingduihuanzhong'}}" class="btn" name="do" text="申请红利兑现"></sbutton>
            </a>{{/if}} {{/if}} {{#if state==$Top.config.bus_user_bind_status.shenqingduihuanzhong}}
            <div class="info">申请已发送，等待商家发款</div>
            {{/if}} {{#if state==$Top.config.bus_user_bind_status.shangjiayijingfukuan}}
            <div class="info">商家确认发款</div>
            <a>
                <sbutton event-click="{{'$Top.$Event.user.shangjiayijingfukuan_to_yonghuquerenfukuan'}}" class="btn" name="do" text="确认到帐"></sbutton>
            </a>
            {{/if}}
        </div>
        {{/each}} {{#else}}
        <p>还没有推荐过商品，赶紧去推荐商品获取收益吧</p>{{/if}}
    </div>
    <div class="pointitem">
        {{#if $Cache.user.guide_list.length}} {{#each $Cache.user.guide_list}}
        <div class="item">
            <div class="i">商家:{{bus_id}}</div>
            <div class="i">推荐单数:{{achs.length}}</div>
        </div>
        <div class="item">
            <div class="i">推广:￥{{acc}}</div>
            <div class="i">红利:
                <span class="price">￥{{#Fixed _money}}</span>
            </div>
        </div>
        <div class="item">
            {{#if state==$Top.config.guide_status.weishenqingduihuan}}
            <div class="info">无红利，无法申请</div>
            {{#else}}
            <a>
                <sbutton event-click="{{'$Top.$Event.user.guide.weishenqingduihuan_to_shenqingduihuanzhong'}}" class="btn" name="do" text="申请红利兑现"></sbutton>
            </a>{{/if}} {{/if}} {{#if state==$Top.config.guide_status.shenqingduihuanzhong}}
            <div class="info">申请已发送，等待商家发款</div>
            {{/if}} {{#if state==$Top.config.guide_status.shangjiayijingfukuan}}
            <div class="info">商家确认发款</div>
            <a>
                <sbutton event-click="{{'$Top.$Event.user.guide.shangjiayijingfukuan_to_yonghuquerenfukuan'}}" class="btn" name="do" text="确认到帐"></sbutton>
            </a>
            {{/if}}
        </div>
        {{/each}} {{#else}}
        <p>暂无商家发放的导购链接</p>
        {{/if}}
    </div>
</div>
